package cn.edu.sdjzu.xg23.kcsj01_backend.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.beans.Transient;
import java.util.Date;
import java.util.List;

/**
 * @author 张烁瑜
 * @Date 2025/6/3 21:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//参会
public class ParticipatingConference implements AbsAchievement{
    private Long id;                //主码，参会ID
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date reportTime;        //会议报告时间
    private String reportTitle;     //参会报告题目
    private ApprovalState approvalState;// 审批状态

    // 添加关联对象
    private Conference conference;  // 关联的会议对象
    private Employee applicant;     // 关联的用户对象

    private List<SupportingMaterial> supportingMaterials; //成果支持材料

    public Long getId() {
        return id;
    }

}